package com.woniumall.pojo;

import java.math.BigDecimal;

/**
 * @auther linke
 * @create 2021-11-03 17:48
 */
public class PayInfor {
    private String orderNumber;//订单编号
    private BigDecimal totalPrice;//订单金额
    private String name;//支付方式
    private String massage;//提示消息
    private Boolean flag;//提示消息





    public PayInfor() {
    }

    public PayInfor(String orderNumber, BigDecimal totalPrice, String name, String massage, Boolean flag) {
        this.orderNumber = orderNumber;
        this.totalPrice = totalPrice;
        this.name = name;
        this.massage = massage;
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "PayInfor{" +
                "orderNumber='" + orderNumber + '\'' +
                ", totalPrice=" + totalPrice +
                ", name='" + name + '\'' +
                ", massage='" + massage + '\'' +
                ", flag=" + flag +
                '}';
    }

    public Boolean getFlag() {
        return flag;
    }

    public void setFlag(Boolean flag) {
        this.flag = flag;
    }

    public PayInfor(String orderNumber, BigDecimal totalPrice, String name, String massage) {
        this.orderNumber = orderNumber;
        this.totalPrice = totalPrice;
        this.name = name;
        this.massage = massage;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMassage() {
        return massage;
    }

    public void setMassage(String massage) {
        this.massage = massage;
    }
}
